package com.example.server.mapper;

import com.example.server.entity.Chapter;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ChapterMapper {
    List<Chapter> getChaptersByBookId(int idbook);

    Chapter getChapterById(int idchapter);
}
